function Animals() {
    Unit.call(this);
		
	this.pos = { x: 0, y: 0 };
    this.size = { x: 12, y: 12 };
	
	this.update = function(elapsed, keysDown) {
       
		if(!this.isAlive()) {
			return;
		}
		
		this.randomDirection();
		
		this.updateMovement(elapsed, keysDown);
		
    };
	
	this.setAttack = function(attack) {
		this.life -= attack;
		if(this.life > 0)
			this.die = false;
		else
			this.die = true;
	};
}